Primer programskog koda:

var x = 5; var y = 6; document.getElementById("demo").innerHTML = x + y;